import { AppMenuServiceBase } from '@/ibiz-core';
import { Util, HttpResponse } from '@/ibiz-core/utils';
import { MyToDoModel } from '@/app-core/ctrl-model/app/my-to-do-appmenu-model';


/**
 * MyToDo 部件服务对象
 *
 * @export
 * @class MyToDoService
 * @extends {AppMenuServiceBase}
 */
export class MyToDoService extends AppMenuServiceBase {

    /**
     * 部件模型
     *
     * @protected
     * @type {MyToDoModel}
     * @memberof ControlServiceBase
     */
    protected model: MyToDoModel = new MyToDoModel();

    /**
     * 获取数据
     *
     * @returns {Promise<any>}
     * @memberof MyToDo
     */
    public get(params: any = {}): Promise<any> {
        return this.http.get('v7/my-to-doappmenu', params);
    }

}
// 默认导出
export default MyToDoService;